<template>
  <div class="">
    <!-- <h5>是jiaoxue模块的入口</h5> -->
    <el-row>
      <el-col :span="4">
        <el-menu
          default-active="/test"
          class="el-menu-vertical-demo"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
          router
        >
          <el-menu-item index="/test">
            <i class="el-icon-menu"></i>
            <span slot="title">考试管理</span>
          </el-menu-item>
          <el-menu-item index="/class">
            <i class="el-icon-document"></i>
            <span slot="title">学科管理</span>
          </el-menu-item>
        </el-menu>
      </el-col>
      <!-- 左边一列是放导航 -->
      <el-col :span="20"><router-view></router-view></el-col>
      <!-- 右边一列放坑（页面） -->
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss"></style>
